<?php
header('Content-disposition: attachment; filename=datafile.csv');
header('Content-type: text/csv');
readfile('datafile.csv');
?>
